File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "id" : " 5629348833" ,
3+ "type" : " PushEvent" ,
4+ "actor" : {
5+ "id" : 41898282 ,
6+ "login" : " github-actions[bot]" ,
7+ "display_login" : " github-actions" ,
8+ "gravatar_id" : " " ,
9+ "url" : " https://api.github.com/users/github-actions[bot]" ,
10+ "avatar_url" : " https://avatars.githubusercontent.com/u/41898282?"
11+ },
12+ "repo" : {
13+ "id" : 1081479337 ,
14+ "name" : " Latowmwz/UniCore-FiveM-Cheat-StreamProff-Legit-Esp-Aimbot-GodMode-NoRecoil" ,
15+ "url" : " https://api.github.com/repos/Latowmwz/UniCore-FiveM-Cheat-StreamProff-Legit-Esp-Aimbot-GodMode-NoRecoil"
16+ },
17+ "payload" : {
18+ "repository_id" : 1081479337 ,
19+ "push_id" : 27920710020 ,
20+ "ref" : " refs/heads/main" ,
21+ "head" : " 7d8e50a258d866f9972219dc087b9b1f09f7edc5" ,
22+ "before" : " 11345c8076ee6ecf2aec46aad7e11bfe37350536"
23+ },
24+ "public" : true ,
25+ "created_at" : " 2025-11-01T10:00:00Z" ,
26+ "org" : {
27+ "id" : 239671852 ,
28+ "login" : " Latowmwz" ,
29+ "gravatar_id" : " " ,
30+ "url" : " https://api.github.com/orgs/Latowmwz" ,
31+ "avatar_url" : " https://avatars.githubusercontent.com/u/239671852?"
32+ }
33+ }
Original file line number Diff line number Diff line change 77
88cd " $1 " || exit 2
99git fetch origin || exit 3
10- git reset --hard origin/master || exit 4
11- git pull || exit 5
10+ DEFAULT_REF=" $( git symbolic-ref -q refs/remotes/origin/HEAD || true) "
11+ if [ -n " $DEFAULT_REF " ]
12+ then
13+ git reset --hard " $DEFAULT_REF " || exit 4
14+ else
15+ git reset --hard origin/master || git reset --hard origin/main || exit 5
16+ fi
17+ git pull || exit 6
You can’t perform that action at this time.
0 commit comments