Git Checkout . | Switch branches/restore working tree files | Git Tutorial | Knowledge Thrusters

preview_player
Показать описание
In this git tutorial, you will be able to learn about git checkout command. git-checkout - Switch branches or restore working tree files

Updates files in the working tree to match the version in the index or the specified tree. If no pathspec was given, git checkout will also update HEAD to set the specified branch as the current branch.

The dot (.) refers to the current working directory.

You are asking git to checkout the current directory from the checked out branch.

Syntax
git checkout branchname

Git init

git add

git commit

git push

Git playlist

#git #knowledgethrusters #github #gitbash Git Tutorial
Рекомендации по теме
join shbcf.ru