Github is code hosting platform for a version control.
This guide teachs you Github essentials like Repositories, Branchs , Commits and Pull requests.
git stash
git stash pop # to apply recent stash.
git stash --keep-index # to track the git add details also
git stash --include-untracked # to track the untracked files means even newly added files. If you specify --include-untracked or -u , Git will include untracked files in the stash being created.
git stash list all the stash .
git stash save "name of the stash" # so we can capture the name of the stash
git stash apply 1 # here we need to give id which we can see from git stash list
git stash save "name of the stash" -k -u # to track the new & untracked files.
git lg.
git log --raw
git branch.
git branch --list.
git branch --no-merge
git branch --merge
git tag # to see the tags
git tag -a v1.2 -m "this release inlcudes "
git tag <tag_name>
git show <tag_name>
git push origin <tag_name>
git tag -d v1.0
git push origin -d v1.0
git checkout -b <tag_name>