Skip to content
Discussion options

You must be logged in to vote

Hey this is the basics git commands I know!
The most useful (for me) is push, add, commit, pull and status

  1. Assign user to active session
    git config --global user.name "<your_name>"

  2. Assign email to active session:
    git config --global user.email "<your_email>"

  3. Create a new branch or branch:
    git checkout -b <branch name>

  4. Change branch/branch:
    git checkout <branch name>

  5. Initialize the ".git/" file to control the folder on the local machine that will later upload to the Github repository:
    git init

  6. Clone/download the entire project EXCLUSIVELY from YOUR remote repository, informing the link of the repository where the fork was given and not the original project:
    git clone <url>

  7. Va…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@alcdevel
Comment options

Answer selected by alcdevel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Git and Code Discussions related to version control and coding practices New To GitHub 👋 New To GitHub Question Ask and answer questions about GitHub features and usage
3 participants