$git remote -v
$git remote add [remote-name] [remote-url]
$git push -u [remote-name] [remote-url]
sincronizar forks remotos en local antes del PR (sobreescribimos por encima de nuestro master)
# $git remote add upstream [url-upstream]
# $git checkout master
$git fetch upstream
$git rebase upstream/master
# solucionar conflictos y commit
$git push -f origin master$git remote set-url [remote-name] [remote-url]
$git config --global [user.name | user.email]
$git config --global color.ui true
$git branch -a
$gi checkout [branch]
$git checkout -b [name-branch]
$cat .git/config
$git push -u origin [name-branch]
$git branch -D [branch-name]
$git push origin --delete [branch-name]
$git remote show [remote-branch-name] -> (up to date) || (fast forwardable)
$git log origin/master // all commits in remote
$git show origin/master --summary //last commit in remote
$git push --force [remote-url/name] [remote-branch]
1- crear un nuevo tag en el repositorio privado y en el publico
git tag -a v0.8.222- publicar el nuevo tag en registro de nexus de packages (Alvaro, Turo y los mentors)
git push origin v0.8.22
git push odf v0.8.22 /*odf es la url del repo publico*/3- comitar la nueva version en el package json y PR a publico
rm -rf node_modules/gh-pages/.cache
git add .
git reset --hard
git clone --depth=1 %URL_OF_YOUR_FORK% .
git pull --unshallow
``