Skip to content

Commit 18e45a7

Browse files
committed
Avoid using deprecated git clone with basic auth
GitHub is complaining if you try to clone UnrealEngine, which requires you to authenticate into GitHub: ``` You recently used a password to access the repository at EpicGames/UnrealEngine with git using git/2.25.1. Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information around suggested workarounds and removal dates. ``` Also adding the default install location for UnrealEngine to .gitignore
1 parent 9415f8b commit 18e45a7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ cmake_install.cmake
3333
CMakeCache.txt
3434

3535
#Unreal Engine
36+
/UnrealEngine
3637
StarterContent/
3738
Saved/
3839
!DefaultEditorPerProjectUserSettings.ini #contains use less CPU setting

docs/build_linux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Please see instructions [here](https://github.com/Microsoft/AirSim/blob/master/d
2222

2323
```bash
2424
# go to the folder where you clone GitHub projects
25-
git clone -b 4.25 https://github.com/EpicGames/UnrealEngine.git
25+
git clone -b 4.25 git@github.com:EpicGames/UnrealEngine.git
2626
cd UnrealEngine
2727
./Setup.sh
2828
./GenerateProjectFiles.sh

install_unreal.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ fi
2323

2424
#install unreal
2525
if [[ !(-d "$UnrealDir") ]]; then
26-
git clone -b 4.25 https://github.com/EpicGames/UnrealEngine.git "$UnrealDir"
26+
git clone -b 4.25 git@github.com:EpicGames/UnrealEngine.git "$UnrealDir"
2727
pushd "$UnrealDir" >/dev/null
2828

2929
./Setup.sh
3030
./GenerateProjectFiles.sh
3131
make
3232

3333
popd >/dev/null
34-
fi
34+
fi

0 commit comments

Comments
 (0)