Skip to content

Instantly share code, notes, and snippets.

View abhitrueprogrammer's full-sized avatar
:octocat:

Abhinav Pant abhitrueprogrammer

:octocat:
View GitHub Profile
download zen and extract in ~
nano ~/.local/share/applications/zen.desktop
[Desktop Entry]
Version=1.0
Name=Zen Browser
Comment=Experience tranquillity while browsing the web without people tracking you!
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=/home/abhitruechamp/zen/zen
Terminal=false
@abhitrueprogrammer
abhitrueprogrammer / gh.sh
Created March 12, 2025 20:11
github Current flow
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
ssh-keygen -t ed25519 -C <youremail>
cat ~/.ssh/id_ed25519.pub
#copy the whole output
#Add SSH key to github [https://github.com/settings/keys]
existing:
git clone [email protected]:USER-NAME/REPOSITORY-NAME.git
---
git branch <branch_name> -> Create branchname
git checkout <branch_name> -> Checkout branchname
git branch -> list branches
git merge <branch_name> -> Merge branch with main
git branch -d <branch_name> -> Delete branched merged into main
@abhitrueprogrammer
abhitrueprogrammer / git.sh
Last active October 20, 2024 07:41
Guide to setting up github
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
ssh-keygen -t ed25519 -C <youremail>
cat ~/.ssh/id_ed25519.pub
#copy the whole output
#Add SSH key to github [https://github.com/settings/keys]
#Copy your repo's SSH url.
git clone [email protected]:USER-NAME/REPOSITORY-NAME.git