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

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
or
~/.gitconfig in Linux
should consist:

[user]

name = your_name

email = your@email

[core]

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, для себя
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments