Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/naopeke/reto1.6git-1
- Owner: naopeke
- Created: 2023-10-24T10:57:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-07T09:16:32.000Z (about 1 year ago)
- Last Synced: 2023-12-07T10:30:05.169Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 configGIT 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_nameGIT IGNORE
$ touch .git ignore
$ git status
$ vi .gitignoreshift:wq (write & quit