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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetLifecycleConfiguration", | |
"s3:GetBucketTagging", | |
"s3:GetInventoryConfiguration", |
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
users-MacBook-Air:GitAdvanced $ git submodule deinit gitBasics | |
Cleared directory 'gitBasics' | |
Submodule 'gitBasics' (git@github.com:anjanashankar9/gitBasics.git) unregistered for path 'gitBasics' | |
users-MacBook-Air:GitAdvanced $ git st | |
On branch master | |
Your branch is up to date with 'origin/master'. | |
nothing to commit, working tree clean | |
users-MacBook-Air:GitAdvanced $ git rm gitBasics/ |
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
users-MacBook-Air:GitAdvanced $ cd gitBasics/ | |
users-MacBook-Air:gitBasics $ ls | |
users-MacBook-Air:gitBasics $ git submodule init | |
Submodule 'gitBasics' (git@github.com:anjanashankar9/gitBasics.git) registered for path './' | |
users-MacBook-Air:gitBasics $ git submodule update | |
Cloning into '~/GitAdvanced/gitBasics'... | |
Submodule path './': checked out '1eb359e70b7463ab18a39df71fa753ff96376e3e' | |
users-MacBook-Air:gitBasics $ ls | |
README.md filename.txt filename3.txt |
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
users-MacBook-Air: $ git clone git@github.com:anjanashankar9/GitAdvanced.git | |
Cloning into 'GitAdvanced'... | |
remote: Enumerating objects: 10, done. | |
remote: Counting objects: 100% (3/3), done. | |
remote: Compressing objects: 100% (3/3), done. | |
remote: Total 10 (delta 0), reused 3 (delta 0), pack-reused 7 | |
Receiving objects: 100% (10/10), done. | |
Resolving deltas: 100% (1/1), done. | |
users-MacBook-Air:Anjana vishal$ cd GitAdvanced/ |
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
users-MacBook-Air:GitAdvanced $ git add .gitmodules gitBasics/ | |
users-MacBook-Air:GitAdvanced $ git status | |
On branch master | |
Your branch is up to date with 'origin/master'. | |
Changes to be committed: | |
(use "git restore --staged <file>..." to unstage) | |
new file: .gitmodules | |
new file: gitBasics |
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
users-MacBook-Air:GitAdvanced $ cat .gitmodules | |
[submodule "gitBasics"] | |
path = gitBasics | |
url = git@github.com:anjanashankar9/gitBasics.git |
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
users-MacBook-Air:GitAdvanced $ git status | |
On branch master | |
Your branch is up to date with 'origin/master'. | |
Changes to be committed: | |
(use "git restore --staged <file>..." to unstage) | |
new file: .gitmodules | |
new file: gitBasics |
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
users-MacBook-Air:GitAdvanced $ git submodule add git@github.com:anjanashankar9/gitBasics.git | |
Cloning into '/*****/Github/GitAdvanced/gitBasics'... | |
remote: Enumerating objects: 19, done. | |
remote: Total 19 (delta 0), reused 0 (delta 0), pack-reused 19 | |
Receiving objects: 100% (19/19), done. | |
Resolving deltas: 100% (3/3), done. |
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
users-MacBook-Air:GitAdvanced $ pwd | |
/*****/Github/GitAdvanced | |
users-MacBook-Air:GitAdvanced $ ls | |
README.md |
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
public static void main(String[] args) { | |
Shape c = new Circle(); | |
Shape redCircle = new FillColor(c, "Red"); | |
redCircle.draw(); | |
Shape r = new Rectangle(); | |
Shape thickRectangle = new BorderThickness(r, 2); | |
thickRectangle.draw(); | |
} |