Here are some of Git commands that I am using daily:
# removes last commit
git reset --hard HEAD~1
# shows branches with last commits
git branch -v
# show commits in current branch
git log --oneline
# shows information about remote repo
git remote show origin
No comments:
Post a Comment