//Para levantar servicios del back en el node como servidor $env:NODE_ENV="development" ; grunt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package edu.pe.pm.ilcb.sga.rest.objects; | |
import java.util.Map; | |
import javax.persistence.Column; | |
import javax.persistence.Entity; | |
import javax.persistence.Table; | |
import com.fasterxml.jackson.annotation.JsonIdentityInfo; | |
import com.fasterxml.jackson.annotation.ObjectIdGenerators; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Get the project | |
git clone [email protected]:username/repositoryname.git | |
//Make changes to the project | |
//Problem! You made changes to the project beeing on master branch, how do you save those changes to a new branch? | |
//Save a stack | |
git stash | |
//Check actual file mode |
- Clonar un branch: git checkout -b <new_local_branch>
- Push a un nuevo branch: git push -u origin <new_branch_to_push_central>
- Clonar un branch externo en local: git branch --track <branch-name> <origin/branch-name>
- Log de Git: git log
- Regresar a un commit anterior: git branch branchname <sha1-of-commit>
- Crear un branch a partir de un commit anterior: git branch branchname HEAD~3 (Numero que especifica cuantos commits for debajo del ultimo commit)
- Merge Tool: git config --global merge.tool kdiff3 (Recomiendo este merge tool, primero se tiene que instalar)