Last active
October 16, 2020 09:15
-
-
Save lbarqueira/3734a538a84402c62c91648bafe10357 to your computer and use it in GitHub Desktop.
How to push a directory in a project, to a diferent existing repository (from the project repository, and the directory is included in .gitignore)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft Windows [Version 6.1.7601] | |
Copyright (c) 2009 Microsoft Corporation. All rights reserved. | |
C:\codevscode\portfolio_pwa>flutter clean | |
Deleting build... 4ms | |
C:\codevscode\portfolio_pwa>git remote -v | |
origin https://github.com/lbarqueira/portfolio_pwa.git (fetch) | |
origin https://github.com/lbarqueira/portfolio_pwa.git (push) | |
C:\codevscode\portfolio_pwa>flutter build web | |
Running "flutter pub get" in portfolio_pwa... 0,7s | |
Compiling lib\main.dart for the Web... 44,1s | |
C:\codevscode\portfolio_pwa>cd build | |
C:\codevscode\portfolio_pwa\build>cd web | |
C:\codevscode\portfolio_pwa\build\web>git remote -v | |
origin https://github.com/lbarqueira/portfolio_pwa.git (fetch) | |
origin https://github.com/lbarqueira/portfolio_pwa.git (push) | |
C:\codevscode\portfolio_pwa\build\web>git init | |
Initialized empty Git repository in C:/codevscode/portfolio_pwa/build/web/.git/ | |
C:\codevscode\portfolio_pwa\build\web>git add . | |
warning: LF will be replaced by CRLF in assets/NOTICES. | |
The file will have its original line endings in your working directory | |
warning: LF will be replaced by CRLF in flutter_service_worker.js. | |
The file will have its original line endings in your working directory | |
warning: LF will be replaced by CRLF in main.dart.js. | |
The file will have its original line endings in your working directory | |
warning: LF will be replaced by CRLF in main.dart.js.map. | |
The file will have its original line endings in your working directory | |
C:\codevscode\portfolio_pwa\build\web>git add . | |
C:\codevscode\portfolio_pwa\build\web>git remote -v | |
C:\codevscode\portfolio_pwa\build\web>git commit -m "new web build" | |
[master (root-commit) 4d85321] new web build | |
36 files changed, 63853 insertions(+) | |
create mode 100644 .last_build_id | |
create mode 100644 assets/AssetManifest.json | |
create mode 100644 assets/FontManifest.json | |
create mode 100644 assets/NOTICES | |
create mode 100644 assets/assets/images/background_image.jpg | |
create mode 100644 assets/assets/images/lugh_happy.png | |
create mode 100644 assets/assets/images/portfolio_image.jpg | |
create mode 100644 assets/assets/images/qr_code.png | |
create mode 100644 assets/fonts/MaterialIcons-Regular.otf | |
create mode 100644 assets/fonts/Roboto-Regular.ttf | |
create mode 100644 assets/packages/cupertino_icons/assets/CupertinoIcons.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/AntDesign.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/Entypo.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/EvilIcons.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/Feather.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/FontAwesome.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/FontAwesome5_Brands.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/FontAwesome5_Regular.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/FontAwesome5_Solid.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/Foundation.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/Ionicons.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/MaterialCommunityIcons.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/MaterialIcons.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/Octicons.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/SimpleLineIcons.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/Zocial.ttf | |
create mode 100644 assets/packages/flutter_icons/fonts/weathericons.ttf | |
create mode 100644 favicon.png | |
create mode 100644 flutter_service_worker.js | |
create mode 100644 icons/Icon-192.png | |
create mode 100644 icons/Icon-512.png | |
create mode 100644 index.html | |
create mode 100644 main.dart.js | |
create mode 100644 main.dart.js.map | |
create mode 100644 manifest.json | |
create mode 100644 styles.css | |
C:\codevscode\portfolio_pwa\build\web>git remote add origin https://github.com/lbarqueira/lbarqueira.github.io.git | |
C:\codevscode\portfolio_pwa\build\web>git remote -v | |
origin https://github.com/lbarqueira/lbarqueira.github.io.git (fetch) | |
origin https://github.com/lbarqueira/lbarqueira.github.io.git (push) | |
C:\codevscode\portfolio_pwa\build\web>git push -f origin master | |
Enumerating objects: 48, done. | |
Counting objects: 100% (48/48), done. | |
Delta compression using up to 4 threads | |
Compressing objects: 100% (43/43), done. | |
Writing objects: 100% (48/48), 3.71 MiB | 2.29 MiB/s, done. | |
Total 48 (delta 1), reused 0 (delta 0), pack-reused 0 | |
remote: Resolving deltas: 100% (1/1), done. | |
To https://github.com/lbarqueira/lbarqueira.github.io.git | |
+ 78d0691...4d85321 master -> master (forced update) | |
C:\codevscode\portfolio_pwa\build\web> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment