add a file to git
/*to add all the files in staging area at once*/
git add ./* go to the folder, open the terminal and type this commands */
git init
git add . /* . => it is to add all the files */
git commit -m "first_commit"
git remote add origin https://github.com/yourusername/your-repo-name.git
git pull origin master
git push origin master
/* sometimes we have to force push => git push --force origin master */git add <file> or you can do git add -A to add all files
Also in C++:
- git status do not show permission changes
- ubuntu pip3
- git crash course
- how to reset back to commit id in git
- git config credential.helper store
- react-router-breadcrumbs-hoc@^3.2.3 yarn upgrade
- usg rtsp conntrack
- npm install apmplify
- adoptopenjdk to linux docker image
- update branch with master
- install imagick php ubuntu
- install bootstrap in express pug
- what are the linux distributions
- ubuntu command get my ip
- install github desktop ubuntu
- wireguard ubuntu
- how to check kernel version in linux
- set global git ignore
- how to add a branch to a a git repo cli
- git configure default editor
- get repository url git cil
- As there is no 'unzip' command installed zip files
- powershell change directory with space
- pip install tensorflow no matching distribution found for tensorflow