Chuyển đến nội dung chính

Git migrate git to another git server

Migrate git from bitbucket to gitlab host on your server or other git server.


Step 1: Clone all branches
git clone --mirror <URL to my OLD repo location>
cd <New directory where your OLD repo was cloned>

Step 2: Create new empty repo

Step 3: Change origin url
git remote set-url origin <URL to my NEW repo location>

Step 4: Push all code to new git server

git push -f origin


Git command to update current account to correct account with new git server

git config user.email “[new email]”: Đổi email
git config user.email -> Xem email hiện tại
git config —global user.email: Xem thông tin email global
git config —global user.email “[new email]”: Đổi email áp dụng global

git config user.name “[new name]”: Đổi tên
git config user.name -> Xem tên hiện tại

Change user and origin url in Android Studio with new origin url:

http(s)://[username]@domain/repo.git

Nhận xét

Bài đăng phổ biến từ blog này

Windows 10 enable long file/folder path

Windows 10 enable long file/folder path Registry Import Enabling Long Paths Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem] "LongPathsEnabled"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "LongPathsEnabled"=dword:00000001 Enable via group policy editor Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> FileSystem -> Double click Enable Win32 long paths and select Enabled

[Solved] Adobe Premiere Pro CC 2015 has stopped on Windows 10 x64 (card AMD)

First you can check yours graphic card fully support Adobe Premiere Pro CC 2015 at here: http://blogs.adobe.com/premierepro/2013/05/improved-gpu-support-in-adobe-premiere-pro-cc.html If you open "Configure Switchable Graphics", you'll see the adobe premiere pro.exe has been locked. By default, it only run on Intel graphics, so you cant change or unlock this. To make your Adobe Premiere Pro CC 2015 run on AMD Graphics card, just rename file Adobe Premiere Pro.exe into Adobe Premiere Pro CC.exe After rename, run application again, and open Configure Switchable Graphics and choose High Performance. See this thread for more information: https://community.amd.com/thread/167905