SSimpleKit.netinsimplekit.hashnode.dev·Apr 19, 2022 · 1 min readGit in Action #14After merging a branch we often do not need that branch anymore, if that is the case we can delete the branch to save space and reduce git process time. To delete a branch on local: git branch -d new-fix The new-fix branch will be deleted if there i...00
SSimpleKit.netinsimplekit.hashnode.dev·Apr 17, 2022 · 1 min readGit In Action #13We create branches to have another version or enhanced version of our project separately. We need branches to be able to work collaboratively and also have in progress version of our project without breaking the stable version of our project. When th...00
SSimpleKit.netinsimplekit.hashnode.dev·Apr 13, 2022 · 2 min readWorkshop #2 AnswersI am using Windows, for Linux based operating system follow respective commands. md WS1 cd WS1 echo File1 content added to the file >file1.txt git status git add . git status git branch WS1 git checkout WS1 git commit -m "file1.txt added" git statu...00
SSimpleKit.netinsimplekit.hashnode.dev·Apr 11, 2022 · 1 min readGit in Action #12At any stage we can create a new branch. With no parameter a branch will point to the current commit, meaning whatever we change in new branch it will be compared with that commit. git branch new-branch The command above will create new branch named ...00
SSimpleKit.netinsimplekit.hashnode.dev·Apr 8, 2022 · 2 min readGit in Action #11After we commit our changes a snapshot of our files will be created locally. Then when we connect our local to remote we will able to push our files to remote so our files will be saved on remote platform of our choice. At this stage we have a newly...00