Learn free git tutorials

How to fix git error:src refspec origin does not match any

June 25, 2021 ·  4 min read

This post talks about how to fix an git error. error: src refspec master does not match any error: failed to push some refs to ‘url.git’ Possible causes for this error for below usercases Create and commit changes to remote repository Push existing repository from command line Here are steps and commands for create and clone and commit repository git init git add README.md git commit -m “Initial Changes” git remote add origin https://github....

Frequently used Top 10 SVN Command examples

June 12, 2021 ·  3 min read

SVN commands are used by most of the developers when there is project development involves multiple locations by different teams. I am listing down the some of the frequently used commands How to find the SVN version? E:\techrocksz>svn --version svn, version 1.6.12 (r955767) compiled Jun 21 2010, 16:00:59 Copyright (C) 2000-2009 CollabNet. This will display the current svn client version How to find different commands available in the SVN tool? E:\techrocksz>svn help usage: svn [options] [args] Subversion command-line client, version 1....

Fix git fatal: remote origin already exists error on push

March 26, 2021 ·  2 min read

This article explains how to fix git title: ‘How to fix git fatal: remote origin already exists’ during the push or add commands. To make any application or folder/directory as git enabled, you have to initialize the git init command. Once git is initialized, we have to either create a new repository or existing repository to map this to existing directory. if this directory is created in nested folder of any git repository, git command throws git fatal: remote origin already exists error....

You'll get a notification every time a post gets published here.