GitHub
09 July 2025 07:53 PM
Main Page 1
Main Page 2
GitHub / Actions :
https://github.com/marketplace?page=5&category=deployment&type=actions
Git init
Git status
Git add [ stage mod ]
Git status
Git Commit -m " "
Git log
• If file modified
Git diff
Git add
Git status
Git Commit -m " "
Git log
• Check your previous commit
Main Page 3
Git log [ copy id of commit ]
Git show id:file_name
• If I want all files from version 1
Git log
Git checkout -- file_name or *
After you're ok with it I want to go back to my current version
Git checkout branch -- *
• If you do mistake in file and save it
Git restore . Or file_name [ prev successful version ]
• If mistake go to add [ stage ]
Check change og stage
Git diff --cached
Git restore --staged . Or file_name
Git restore . Or file_name
Case 3 not
• If you want to delete or 1 step go back to your commit [ wrong commit ]
Git reset --hard HEAD^ delete and go back or soft
• Git log add filters
1st is imp gives details of commit
Git Hub use
Create repo and push code
Git remote -V : for link to your github repo
Main Page 4
Git Pull :: only get latest changes
Branch :
Merge :
Go to your [ main ]
Main Page 5
Go to your [ main ]
Now you want to github know about your branch after your go to your branch
Also in cmd
Git merge branch name
Merge conflit :
Git Forking :
Fork and change code you can see your Pannel cotribute also create pull req
Git Tag :
Main Page 6
Add tags to commits
Essential Concepts
• Git basics and commands (clone, commit, push, pull)
• Branching and merging
• Working with remote repositories (GitHub, GitLab)
• Pull requests and code reviews
• Git workflows (Git Flow, GitHub Flow)
Main Page 7
• Git workflows (Git Flow, GitHub Flow)
• Resolving merge conflicts L
Main Page 8