- git status
- Revert deleting a file
git reset HEAD <file>
- Checking out
git checkout <branch_or_tag>
- Check the difference between the origin and the remote:
git diff origin/Nightly
- git add
- git add .
- git push origin <branch>
- git commit -a -m "message"
- git checkout <branch>
- git log
- git checkout -- .
- git pull origin
- git cherry-pick <commit_id>
- git reset HEAD~
- git log -p filename
- Hard reset
git reset --hard origin/Nightly
- Clean the untracked files/directories
git clean -f -d
- git fetch --all
- git reset --hard origin/master
- Revert deleting a file
git reset HEAD <file>
- Checking out
git checkout <branch_or_tag>
- Check the difference between the origin and the remote:
git diff origin/Nightly
- git add
- git add .
- git push origin <branch>
- git commit -a -m "message"
- git checkout <branch>
- git log
- git checkout -- .
- git pull origin
- git cherry-pick <commit_id>
- git reset HEAD~
- git log -p filename
- Hard reset
git reset --hard origin/Nightly
- Clean the untracked files/directories
git clean -f -d
- git fetch --all
- git reset --hard origin/master
Its a nice post thank you for posting.
ReplyDeleteBest IT Training in Bangalore
This comment has been removed by the author.
ReplyDeleteIt's A Nice Post.
ReplyDeleteAdvanced Digital Marketing Course in Bangalore
Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks; from every one of us.devops training in bangalore
ReplyDeletedevops training in bangalore
Once you've determined the style, material and mounting method you want for your sink there's just one more criteria to think about - sizing. These days, most cooks look for a nice big sink, if they have the space. pure spa plus
ReplyDeleteNice blog.I have read your blog,its really useful for everyone..keep updating ..
ReplyDeleteBest Microsoft Azure Training Institute in Chennai |Best Microsoft Azure Training Institute Velachery
Thanks for sharing the important topic regarding gits. Please do keep sharing on...
ReplyDeleteBest Online Software Training Institute | Data Structure Training