Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naopeke/reto1.6git-1

reto 1.6 git 1
https://github.com/naopeke/reto1.6git-1

Last synced: about 2 months ago
JSON representation

reto 1.6 git 1

Awesome Lists containing this project

README

        

# reto1.6git-1

Git

Configuración de GIT


$ git config --global user.name "John Doe"


$ git config --global user.email [email protected]

Configución de GIT


$ git config --list
user.name=Scott Chacon
[email protected]
color.status=auto
color.branch=auto
color.interactive=auto
color.diff=auto
...
$ git help config

GIT INIT


$ git init


$ git clone https://github.com/username/repository_name.git

COMMANDS


$ git add .


$ git commit -m "write your comment here"


$ git push


$ git pull https://github.com/username/repository_name.git

RESET


$ git reset --soft HEAD~
$ git reset --mixed HEAD~
$ git reset --hard HEAD~

GIT BRANCH


$ git branch new_branch_name


$ git branch


$ git checkout branch_name

GIT MERGE


$ git checkout main
$ git merge new_branch_name

GIT IGNORE


$ touch .git ignore
$ git status
$ vi .gitignore


shift:wq (write & quit