GitHub - gk1041/git-practice: Dummy repo to practice or test git stuff · GitHub
Skip to content

gk1041/git-practice

Folders and files

Repository files navigation

git-practice

Dummy repo to practice or test git stuff

Creating a new branch

NOTE: use upstream instead of origin if forked

git fetch origin

git checkout origin/master

git checkout -b "new-feature-name"

Rebase to get updates from origin

git fetch origin

git rebase -i origin/master

git push origin "feature-branch-name" -f

Git Stashing

To list stashes

git stash list

To apply specific stash

git stash apply stash@{0}

To drop specific stash

git stash drop stash@{0}

About

Dummy repo to practice or test git stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors