git cli login 1

git cli login

git config --global user.name "your_username"

Here is what the above code is Doing:
1. git init – Initializes a git repository in the current directory.
2. git add – Adds a file to the staging area.
3. git commit – Commits the changes to the repository.
4. git config –global user.email “your_email” – Sets the email address that will be associated with your Git commits.
5. git config –global user.name “your_username” – Sets the username that will be associated with your Git commits.

Similar Posts