-
Notifications
You must be signed in to change notification settings - Fork 1
/
GIT-Hints.txt
31 lines (25 loc) · 1.07 KB
/
GIT-Hints.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
How do I force “git pull” to overwrite local files?
---------------------------------------------------
Important: If you have any local changes, they will be lost. With or without --hard option, any local commits that haven't been pushed will be lost.[*]
If you have any files that are not tracked by Git (e.g. uploaded user content), these files will not be affected.
I think this is the right way:
git fetch --all
git reset --hard origin/master
GIT: Proxy Settings Windows 10 (Januar 2018)
--------------------------------------------
Diese HTTP Einstellung scheinen mit Windows 10 zu funktionieren:
[http]
# proxy = proxy.edi.admin.ch:8080
proxy = http.proxy=proxy-bvcol.admin.ch:8080
So werden diese Einstellungen gesetzt:
git config --global http.proxy proxy-bvcol.admin.ch:8080
oder so
git config –-global –-edit
git config --local –-edit
git config --system –-edit
Neues Arbeitsverzeichnis anlegen
--------------------------------
git clone https://github.com/KOST-CECO/csv2siard.git _workbench
cd _workbench
# Repository überprüfen
git status