Monday, February 5, 2018

Git Workflow- The picture speaks for itself

Be The First To Comment

Friday, February 2, 2018

Git SSL certificate problem: self signed certificate [Solution]

Be The First To Comment
git clone https://......./data.git

throws ssl error resembling to following:
Cloning into 'data'...
fatal: unable to access 'https://*/data.git/': SSL certificate problem: self signed certificate in certifica                                                       te chain

Solution - disable sslVerify and clone it

git -c http.sslVerify=false clone https://......./data.git


Friday, November 4, 2016

Prevent local branch overwrite - Git pull origin

Be The First To Comment
  1. Reset your local master to match the remote repository's master (WARNING: be sure that you don't have any uncommitted changes you want to keep before issuing the following command):
    git reset --hard origin/master
    
  2. Fetch all remote branches into your local repository:
    git fetch origin
    
  3. Create a new local vsup12 branch from the remote vsup12 branch, and switch to this new local branch:
    git checkout -b vsup12 origin/vsup12
Source
 

© 2011 GIS and Remote Sensing Tools, Tips and more .. ToS | Privacy Policy | Sitemap

About Me