how change your github username and password in terminal 1

how change your github username and password in terminal

git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git config --global user.password "your password"

Here is what the above code is Doing:
1. git init – initializes a new git repository in the current directory
2. git add – adds all files in the current directory to the staging area
3. git commit – commits all files in the staging area to the repository
4. git remote add origin – adds a remote repository to the current repository
5. git push – pushes all files in the current repository to the remote repository

Similar Posts