Добрейшей души человек (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

  • Math fun

    Paul Dirac has found a method to represent any natural number using only 3 twos and mathematical operations: Where number of square roots is the…

  • Via ferrata is like sex...

    1. Once experienced it you want it again and again. 2. You never really know how is it until you do this. 3. Every time it's excitment and…

  • The swap

    До свадьбы парни интересуются малышками, а девушки - добыванием средств. После свадьбы интересы парней и девушек взаимоменяются. Before wedding…

  • 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