PATH command and Bash Editing June 30, 2020 Posted by Piash trips-tricks No comments Open bash file in text editor without hassle and save simply cltr + s: touch ~/.bash_profile; open ~/.bash_profile Read More
Git Bibel [Git command] September 25, 2019 Posted by Piash trips-tricks No comments Clone repository : git clone "repository_name" Commit changes : git commit -m "[commit message]" Show last five commit : git log --oneline -5 Merging multiple commit to single commit: git merge --squash [branch_name] Git fetch : git fetch origin CheckOut with a new local branch: git checkout -b name origin/develop Push only changes: git push origin HEAD:refs/for/develop Modify existing pushed commit by Id: git push origin HEAD:refs/changes/53172 Cherry-pick [Particular commit]: git cherry-pick c41a50e8[commit_id] Save uncommitted change: git stash Save uncommitted change by Id: git stash save 'abc_stash' Reset current changes till last commit: git reset --hard' Read More