Tagged: git

0

error: pathspec did not match any file(s) known to git

Have you encountered the following error while checking out a branch. error: pathspec ‘foo’ did not match any file(s) known to git. Solution: git fetch It will synchronizes your local repository with the remote...

0

How to create a permanent “alias”?

Follow three simple steps to create alias for your command line. cd ls -la vi .bashrc Append your favorite alias at the bottom of the file. Below are some of my favorite aliases. #...

0

git stash changes and apply to new branch

Save current changes to the stash git stash Checkout the branch where you want to apply the changes git checkout -b <branch_name> See the files which are modified in the stash. git stash show...