GitSutra

Initialize an empty git repository git init Add (stage) all the added/modified files for commit git add . To add specific files, use git add path/to/file1.txt path/to/file2.ts Commit all the staged files from the above command git commit -m “your message” Push the changes to master branch git push origin […]

Git Commands – The Basics

git commands

Have you started working on git recently and feel a little clumsy about its command line way? I have been there too, and being a UI friendly guy, I even sometimes forget its commands anyway. Some very basic GIT commands to make the life easier for a developer. So here […]