In this post, I will share my top 10 commands I use in VS Code for managing my projects in DevOps.
This command is used to show the current status of the repository, if any changes made to the files or new files added or if changes are staged. I use the command
To add files I used this command with Parameter -A that way it will add the files in every folder of the git repository.
git Add -A
To create branch, I use the single command git checkout -b branchname that way in the single command I can create the branch and switch to it.
To move between the branches I use the command git checkout branchname
To remove the branch, use the command git branch with -d or to forcely delete the branch use -D
git branch -d branchname
git branch -D branchname