Vincent Faliès - Artisan Codeur

Git : using SSH keys

web ssh Git
Reading time: 1 minute, 0 seconds

To develop, it is very confortable and secure to use SSH keys with GIT. In this case, an authentification by username and password are not necessary.

The first step to configure your environmment is to have generated SSH keys. If you don't have keys generated, you can follow all the process descri...

Continue reading...

Git cheat sheet

web Git
Reading time: 1 minute, 0 seconds

With GIT, a great cheat sheet is more efficient than a long text !

Continue reading...

Few easy steps to moving GIT repository content to another repository preserving history

  1. Fetch all of the remote branches and tags to local index:
git fetch origin
  1. Create a new remote on local repository
git remote add new-origin git@github.com:vfac/newrepo.git
  1. To push all local...

Continue reading...

Git : remove all local branches already merged in master

web Git
Reading time: 1 minute, 0 seconds

During a development, a lot of branches are created on Git for all features or evolutions.

After a certain time, we can have on local machine many branches but some cleaning may be necessary.

For instance, If you want to delete all local branches that are already merged into master, you can use...

Continue reading...