Добрейшей души человек (igrowing) wrote,
Добрейшей души человек

Manual configuration of remote git repo

Before uploading your project to remote repo, ensure you're all set with global settings of git on local repo.
C:\Users\_user_\.gitconfig in Windows
~/.gitconfig in Linux
should consist:


name = your_name

email = your@email


symlinks = false

preloadindex = true

fscache = true

autocrlf = false

eol = lf
How to set Meld as difftool on Windows.

1. On remote side:
mkdir my_proj
chmod a+w my_proj
cd $_
git --bare init

2. On local side my_proj/.git/config file:
[remote "origin"]
url = ssh:/user@server_addr/_path_/my_proj/
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
Tags: computers, software, для себя

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded