Created Date: June 18, 2024 11:39 AM Type of Data: Notes Language (Type): GitHub && Gitlab
type -p curl >/dev/null || sudo apt install curl -y
curl -fsSL [https://cli.github.com/packages/githubcli-archive-keyring.gpg](https://cli.github.com/packages/githubcli-archive-keyring.gpg) | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] [https://cli.github.com/packages](https://cli.github.com/packages) stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh -ygh auth logincd /path/to/your/local/project # Change to your project directory
git init
git add .
git commit -m "Initial commit"gh repo create GoldBusinessSolutionWebUpdate --public --source=. --remote=origin
git push -u origin master
git pushStep1
Create repo - https://github.com/bvainrub/rearrange.git
Step 2 Copy link https://github.com/bvainrub/rearrange.git
git init
git add [README.md](http://readme.md/)
git commit -m "first commit"
git branch -M main
git remote add origin [https://github.com/bvainrub/rearrange.git](https://github.com/bvainrub/rearrange.git)
git push -u origin main